-
Notifications
You must be signed in to change notification settings - Fork 409
fix: add tmpfiles for faillock dirs #73596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🌐 Build Failed: Environment
Build Details
Root Cause Analysis 🔍The chgrp command is trying to change group ownership of unix_chkpwd at /home/build/melange-out/linux-pam/bin/unix_chkpwd, but this file does not exist at that path. The file was actually installed to /home/build/melange-out/linux-pam/usr/bin/unix_chkpwd according to the installation logs, indicating a path mismatch in the post-installation script or configuration. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Suggested ChangesFile: melange.yaml
Replacement: Content: Click to expand fix analysisAnalysisNo similar build failures were provided for analysis. However, analyzing the current failure: The error occurs because the chgrp command is looking for unix_chkpwd at Click to expand fix explanationExplanationThe fix addresses the root cause of the build failure by correcting the path mismatch. The meson build system was configured with Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
87c47f5 to
835018c
Compare
Ref VMS-231 Signed-off-by: Luca Di Maio <[email protected]>
Signed-off-by: Luca Di Maio <[email protected]>
Signed-off-by: Luca Di Maio <[email protected]>
f872ef6 to
a796b4e
Compare
|
The usr/bin/unix_chkpwd
+ NOTE: permissions changed for usr/bin/unix_chkpwd: 755 -> 2755
+ WARNING: usr/bin/unix_chkpwd now has special permissions: setgid
- -rwxr-xr-x 91792 2025-10-16 12:19:44 unix_chkpwd
- APK-TOOLS.checksum.SHA1: "a8b870aa360a77e09f1f922c5e510b4774218d95"
+ grwxr-xr-x 91840 2025-12-02 17:21:44 unix_chkpwd
+ APK-TOOLS.checksum.SHA1: "3441e675a0f35770434a2eda1437a3c8c50bac3a"due to: chgrp shadow ${{targets.destdir}}/usr/bin/unix_chkpwd \
&& chmod g+s ${{targets.destdir}}/usr/bin/unix_chkpwd |
Yea I think before the chgrp whas silently failing I guess |
|
Out of curiosity, why is this a tmpfiles.d snippet instead of just |
I believe it's because of the SELinux context thing, although it should be possible to use |
That won't work, we need it to be created at runtime to get the right context, else it is created with the var_log one: With mkdir: With tmpfile: |
Ref VMS-231